package com.qy.dao;

import java.util.List;
import com.qy.bean.OrderInfo;
/**
* u_order_info dao接口的生成
* @author zhangwenlong
* @date Thu Feb 01 14:56:21 GMT+08:00 2018
*/ 
public interface OrderInfoDao {

	public boolean createOrderInfo(OrderInfo orderInfo);

	public List<OrderInfo> getOrderInfoList();

	/**
	 * 获取对应状态的订单列表
	 * @param status
	 * @return
	 */
	public List<OrderInfo> getOrderInfoListByStatus(List<Integer> status);
	
	public List<OrderInfo> getOrderInfoList(int userId);
	
	public OrderInfo getOrderInfoById(int id);

	public boolean updateOrderInfo(OrderInfo orderInfo);

}

